Correctly shutdown the worker supervisor

Closes #53.
Bump version to 1.2.2