protected boolean checkAndSleep(){
  try {
    Thread.sleep(timeout);
  }
 catch (  InterruptedException e) {
    e.printStackTrace();
  }
  return checkCondition();
}

protected boolean checkAndSleep ( ) { try { Thread . sleep ( timeout ) ; } catch ( InterruptedException e ) { e . printStackTrace ( ) ; } return checkCondition ( ) ; }
checks if tlc is still running
