Refs #10: fix typo
Refs #10: remove state file on graceful shutdown