Add -noCloseOnTimeout switch to block calling .dispose() on timed-out threads and to no .close() the runspace when threads have timed out in order to prevent hangs in certain circumstances.
Moved TimedOut thread logging to occur before the potential hang.