Modifications and hopefully optimizations to service... 
avoid disconnect connect at every run().