cockpit: All processes and tests ignore SIGPIPE.

Make sure all processes and tests (except for some testing mock processes) ignore SIGPIPE.

Fixes #716