Potential fix to VS crash on domain server shutdown