IOIOLib: Remove sync listener

This was a leak: the sync listener never got removed from the
disconnect listener list, eventually exploding the listener list.
This fix makes sure it get removed unconditionally whenever the sync()
method exits.