Unregister IO callbacks before resolving the promise.
Unregister IO callbacks before resolving the promise.

If there are already other promises waiting on this one, RESOLVE can
trigger them synchronously. In that case, resolving first
(in read-available) will trigger other code, and the UNREGISTER-OP!
may unregister callbacks that are not ours.

mtstickney/cl-mtgnet