Make the connection a daemon

Also a typo fix for queue