} catch (InterruptedException e) {
}
if(mResult == null && (System.currentTimeMillis() - startTime) >= TIMEOUT) {
mWaitingForResult = false;
throw new PluginNotFoundException("Timeout while waiting for reply from target plugin, message was: " + params);
}
}
Result result = mResult;
mWaitingForResult = false;