added the correct status when disconnected