capmt/cwc: another destroy cleanups
capmt: do not use assert in open/close pid