docs: public synchronized ReturnCode waitForStop() {
  
          // if the lock is null or is invalid, the lock could not be obtained within the timeout
          if (!getServerLock()) {
              serverLock = null;
              lockFileChannel = null;
              System.out.println(MessageFormat.format(BootstrapConstants.messages.getString("error.stopServerError"),
                                                      serverName, lockFile.getAbsolutePath()));
              return ReturnCode.ERROR_SERVER_STOP;
          }
  
          releaseServerLock();
          return ReturnCode.OK;
      }