Daemon can now be stopped. Fixes #26