rtmidi input now raise IOError if pending() is called while a callback is active.