fixed the event listener in the master thread to process "listening" message from non-netowrking workers