Write pidfile when daemonized (GitHub issue #10)
Reopen logs on SIGHUP (GitHub issue #10)
Disable SELECT command - issue #80
Handle SIGTERM & SIGINT (issue #10)