fixed connection close when leaving online game