powershell foreach object parallel error handling