fix limbo in case that the client is disconnected