code: private void reopen(final ConnectionPoolConnection conn) {
  
        if(isActive) {
           if(conn.reopenAttempts == 0) {
              conn.reopenAttempts++;
              reopenService.execute(new Reopener(conn));
           } else {
              long delayMillis = 100L * conn.reopenAttempts;
              if(delayMillis > maxReconnectDelayMillis) {
                 delayMillis = maxReconnectDelayMillis;
              }
              conn.reopenAttempts++;
              reopenService.schedule(new Reopener(conn), delayMillis, TimeUnit.MILLISECONDS);
           }
        }
     }
docs: Schedule connection reopen.
  @param conn The connection.