fix mysql reconnect