220.127.116.11 Closing a RunspacePool
The higher layer can initiate the closing of a RunspacePool. If the state of a RunspacePool is not Opened, the client does nothing. Otherwise, the following activities happen as part of the RunspacePool closure:
The client expects a wxf:DeleteResponse (section 18.104.22.168.12) from the server at this state. If wxf:DeleteResponse is received, the client changes the RunspacePool state (section 22.214.171.124) to Closed. If a wxf:Fault message is received, the client changes the RunspacePool state (section 126.96.36.199) to Broken.
When the RunspacePool reaches a Closed or Broken state, the client removes the RunspacePool instance from the global table (section 188.8.131.52.1).