mysql wait fix