handling disconnected state