Fixed issue with two process on daemonize