Error: 'There was an error writing to the pipe: The pipe is being closed. (232, 0xe8)' when using the RestoreOwners tool