Im working on a simulated network, however often times while trying to run the code, one of the threads managing a listen socket just ends up being stuck on the accept command,