Sometimes on shutdown m_Upstream.RevokeLifetimeToken on line 50 of \NativeHandleContractAdapter.cs throws an exception.
An exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll but was not handled in user code
I do not know if it is materiel. I added a try/except, unsuccessfully.
