Trap EXIT not SIGINT so that maintenance mode is unset on any error not just explicit signals.
Merge pull request #5 from mrowe/master

Trap EXIT not SIGINT so that maintenance mode is unset on any error