void initAndroidDevices(HardwareDeviceListener hardwareDeviceListener,
                                       boolean shouldKeepAdbAlive) throws AndroidDeviceException {
    emulatorPowerStateListener = new DefaultEmulatorPowerStateListener();
    deviceManager.initialize(hardwareDeviceListener, emulatorPowerStateListener);

    List<AndroidEmulator> emulators = DefaultAndroidEmulator.listAvailableAvds();
    addEmulators(emulators);

    if (getDevices().isEmpty()) {
      SelendroidException e =
          new SelendroidException(
              "No android virtual devices were found. "
                  + "Please start the android tool and create emulators and restart the selendroid-standalone "
                  + "or plugin an Android hardware device via USB.");
      log.warning("Warning: " + e);
    }
  }
After a test session a device should be released. That means id will be removed from the list
of devices in use and in case of an emulator it will be stopped.

@param device The device to release
@see {@link #findAndroidDevice(SelendroidCapabilities)}
selendroid-standalone/src/main/java/io/selendroid/standalone/server/model/DeviceStore.java