Terminate the classes that were instantiated.
TERM:
  call send(datid, '_term');
  call send(dsdvec, '_term');
  return;