private Predicate<AndroidDevice> deviceNotInUse() {
    return new Predicate<AndroidDevice>() {
      @Override
      public boolean apply(AndroidDevice candidate) {
        return !devicesInUse.contains(candidate);
      }
    };
  }
Removes the given device from store so that it cannot be any longer be used for testing. This
can happen if e.g. the hardware device gets unplugged from the computer.

@param device the device to remove.
@throws DeviceStoreException when parameter is not type of 'DefaultHardwareDevice'.
selendroid-standalone/src/main/java/io/selendroid/standalone/server/model/DeviceStore.java