Another bug in WPPipe fixed (when no input data, the pipe does not close)