Abstracting whether to disable daemonization into boolean variable at start.