Testing a way to disconnect and reconnect from a pipe