Moving `deletePipe()` in `componentWillUnmount()` ensures the pipe is deleted when: 1. the terminal is closed 2. the terminal is closed when closing the pod panel The pipe still does not get deleted when popping out the terminal.