Fix for stale connections to retry a query after a reconnect

MySQL will terminate inactive connections so the UI will frequently give server errors until the page has been refreshed enough times to reconnect all the connections in the pool.  

As of this fix we are able to run configure multiple worker and frontend processes using MySQL without them all crashing.  Something else may have corrected that, but after this fix we tested again and it no longer fails.  We observed similar problems as Issue #30 prior to this.