Fix: close stdin for Powershell plugins

* Some versions require stdin to be closed before exiting