Have two plugs, such as old pencils, ready to fit the pipes. Unscrew the pipe connections and plug them at once.