public synchronized void stop() throws IOException {
   if (!monitorStream.isEnabled()) {
     stopDelegate();
   }
   delStarted = false;
 }