There was an error writing to the pipe: The pipe is being closed
This error occurrs on GP 2010 and is generated by the WCF web service.
This article will show how to solve this issue.