fix panic when stopping dcpnozzle