[testMain] Don't open unused pipes.

The pipes have been leaked. Becuase they are not used, we don't
open the pipe to communicate with a child process.