Attempt to fix mysql connection expiry and associated 500
Attempt to fix mysql connection expiry and associated 500

* Tries to deal wih "mysql server has gone away"
* Related to irregular "internal server error" and random server outage
watchcat/cbu-rotterdam,codeforeurope/Change-By-Us,codeforeurope/Change-By-Us,codeforeurope/Change-By-Us,watchcat/cbu-rotterdam,watchcat/cbu-rotterdam,codeforeurope/Change-By-Us,localprojects/Change-By-Us,watchcat/cbu-rotterdam,localprojects/Change-By-Us,localprojects/Change-By-Us,watchcat/cbu-rotterdam,localprojects/Change-By-Us