Commit 2ea15ed0f69badb27b5ea58ffd873b1c2008c5d9

John Ohl 2014-01-27T14:54:55

Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)