Set a flag in opts that a worker is running
Detect workers and don't set the listen flag in events