Have you tried SET NOON before your pipe command (or even within the pipe command) ? Perhaps the execution of the commands halts when one of the them exits with an error. With SET NOON, execution would continue.