Removed use of a single, class-wide http object and replaced with getting a new object for each request. The single connection would die after some time, causing errors in the plugins.