this.server = new ODBCServerRemoteImpl(this, authType, driver) {
@Override
protected synchronized void doneExecuting() {
super.doneExecuting();
while (!server.isExecuting()) {
PGRequest request = messageQueue.poll();
if (request == null) {
break;
}
if (!server.isErrorOccurred() || request.struct.methodName.equals("sync")) { //$NON-NLS-1$
processMessage(request.struct);