Register the receiver with MessageAcceptor and waits for
the reply/notification.
MessageAcceptor acceptor = getWorkManager().getMessageAcceptor();
acceptor.register(this);
synchronized (this) {
try {
wait();
} catch (InterruptedException ie) {
setException(ie);
}
}