cleaning up daemonization