Fixe mysql reconnection bug