Implement synchronization for demuxtable -> makes sure exactly one event is handled in the reactor.