Log number of active workers when gracefully shutting down

This allows to better monitor how many jobs are still running for an active worker. To reduce the log noise a bit, I've increased the sleep to 10 seconds.