using daemonizing method from unicorn - has some useful signal handling