exit gracefully on SIGINT

This makes it easier to use `pouchdb-server` in a test runner
so that you can be sure it exited cleanly.