graceful worker shutdown.