CLI: TCPF: Fix double-close