fix mysql timeout