switchDisconnected() already called when the main connection is closed (so it wasn't a bug after all).