Polling for detecting exit