imporve server's safety when client drop