Daemon works, but closes once the socket is done, need