Not refreshing connection when DB looses connection
Currently when the DB server is rebooted it causes a "MySQL server has gone away" error" and wait for a configured amount of time before trying again. But when it tries again it will not attempt to get a new connection, and thus fail again. We need to clear out the current connection when that error occurs and force it to get a new one.
Maybe even for every DB error triggered.