Fix MySQL server gone away on LoadBalancer