make Multiplexer.unregister() a bit more MT safe