Fixed graceful shutdown bug (which caused workers to keep working)
Merge pull request #5 from webdevvie/bugfix/graceful-shutdown

Fixed graceful shutdown bug (which caused workers to keep working)