public synchronized void addDevice(AndroidDevice androidDevice) throws AndroidDeviceException {
    if (androidDevice == null) {
      log.info("No Android devices were found.");
      return;
    }
    if (androidDevice instanceof AndroidEmulator) {
      throw new AndroidDeviceException(
          "For adding emulator instances please use #addEmulator method.");
    }
    if (androidDevice.isDeviceReady() == true) {
      log.info("Adding: " + androidDevice);
      addDeviceToStore(androidDevice);
    }
  }
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