send(msg);
// wait for the reply
synchronized (blocking) {
final long timeout = System.currentTimeMillis() + TIMEOUT;
RemoteOSGiMessage result = blocking.getResult();
try {
while (result == null && networkChannel != null
&& System.currentTimeMillis() < timeout) {
blocking.wait(TIMEOUT);
result = blocking.getResult();