Is there a way to gracefully disconnect standalone .NET adapters when a LS server is stopped or fails?

We developed a standard alone .NET adapter to connect to LS and everything works as expected. The problem comes in when the LS server process has to stop (or fails), it terminates the .NET adapter process as well. It is as if the DotNetAdapter_N2.dll calls Environment.Exit() (or End statement in VB) when a remoting error occurs, resulting in the entire process being terminated.

Some background: The standalone .NET component we are developing retrieves states, pushes data and has other functionality that services not just to LS but to other components as well. Therefore if DotNetAdapter_N2.dll terminates the entire process upon remoting failure we can not use it within our process.