Removed the 'unit test' at the bottom, as that is now . Also made the connection thread a daemon, which Fixes #1