Close the runspace synchronously.
public abstract void Close ();
RunspaceState is BeforeOpen or Opening
Attempts to execute pipelines after a call to close will fail.