Added mechanism to detect runspace death.
Improve resilience of the Windows session to an unexpected runspace process exit.