reconnect on mysql connection timeout