Daemonise and exit on signal