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