</BUG>
import org.jboss.as.protocol.mgmt.ManagementRequest;
import org.jboss.as.protocol.mgmt.ManagementRequestConnectionStrategy;
import org.jboss.dmr.ModelNode;
<BUG>import org.jboss.marshalling.Marshaller;
import org.jboss.marshalling.MarshallingConfiguration;
import org.jboss.marshalling.SimpleClassResolver;
import org.jboss.marshalling.Unmarshaller;</BUG>
class ModelControllerClientImpl implements ModelControllerClient {
<BUG>private static final MarshallingConfiguration CONFIG;
static {
CONFIG = new MarshallingConfiguration();
CONFIG.setClassResolver(new SimpleClassResolver(ModelControllerClientImpl.class.getClassLoader()));
}</BUG>
private static final long CONNECTION_TIMEOUT = TimeUnit.SECONDS.toMillis(5L);

import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import org.jboss.as.protocol.StreamUtils;
import org.jboss.as.protocol.mgmt.ManagementRequest;
import org.jboss.as.protocol.mgmt.ManagementRequestConnectionStrategy;
import org.jboss.dmr.ModelNode;
class ModelControllerClientImpl implements ModelControllerClient {
private static final long CONNECTION_TIMEOUT = TimeUnit.SECONDS.toMillis(5L);
