Added timeout to room leave in case of flicker