setExitDelay is added.