[PATCH 6.1 539/591] watch_queue: prevent dangling pipe pointer