Seems like a pending _openDeferred should be rejected *before* disconnecting. This makes the scenario I was using seem to be more reliable when switching files.