Fix a dead-lock when receiving a new packet at the same time as sending a packet
Fix a dead-lock when receiving a new packet at the same time as sending a packet

This fixes an issue where stepping really fast can hang up the debugger.

jjensen/lua-tilde,moonshineTheleocat/lua-tilde,jjensen/lua-tilde,jjensen/lua-tilde,moonshineTheleocat/lua-tilde,moonshineTheleocat/lua-tilde,moonshineTheleocat/lua-tilde,jjensen/lua-tilde