Removed sleep from daemon