Changed HTTP thread to be a daemon - so it quits when the main thread does