fix bug when the server goes offline, kick out the users