Sleep to ensure queue.get timeout first before queue.join unblocks