code: private void executeReconnect() throws InterruptedException {
  		// Close connection
  		websocketEndpoint.close();
  
  		// Store the reconnect time to prevent to much
  		// reconnects in a short timeframe. Otherwise the
  		// rate limit will apply and the reconnects are not successfully
  		logger.info("Wait for next reconnect timeslot");
  		eventsInTimeslotManager.recordNewEvent();
  		eventsInTimeslotManager.waitForNewTimeslot();
  		logger.info("Wait for next reconnect timeslot DONE");
  
  		bitfinexApiBroker.reconnect();
  	}
docs: Execute the reconnect
  @throws InterruptedException