enable mysql automatic reconnect