Moved the items being put in the in_queue after the creation of the threads to make it clear the threads are blocking.