'Schedule a call to handle_events next loop iteration
If there are still events to handle.'

def _schedule_remaining_events(self, events=None):

    if (events is None):
        events = self._shadow_sock.EVENTS
    if (events & self._state):
        self._call_later(0, self._handle_events)
