Release the PIPE if stop