Is it bad that a pipe couldn't be closed? Do we really need to stop the function after this?