fixed the issue with the thread not being notified when a packet was added to its queue