Extensions to EventMachine/Synchrony to work well with exceptions