Close The Connection After Polling

Closes the database connection after polling, seems to prevent a build up of open connections and curbs the memory usage of the plugin.
Merge pull request #7 from digitalpardoe/patch-1

Close The Connection After Polling