* Close the pipe to prevent zombie process hanging around until script exits.

The current code returns from the function without closing the pipe to sigtool which creates a zombie process. This patch closes the pipe before returning from the function