private void stopCheckingStatus(){
  executor.shutdownNow();
  executor=Executors.newSingleThreadExecutor();
  future=null;
}

private void stopCheckingStatus ( ) { executor . shutdownNow ( ) ; executor = Executors . newSingleThreadExecutor ( ) ; future = null ; }
re - sets the executor and indicates the system is no longer checking the status of the transactions
