@Override void notifyStarted(@NonNull final BluetoothDevice device) { if (timeout > 0L) { timeoutCallback = () -> { timeoutCallback = null; if (!finished) { notifyFail(device, FailCallback.REASON_TIMEOUT); timeoutHandler.onRequestTimeout(this); } }; handler.postDelayed(timeoutCallback, timeout); } super.notifyStarted(device); }