HttpParams params = getClientParameters();
try {
ioReactor = new DefaultConnectingIOReactor(
NHttpConfiguration.getInstance().getClientIOWorkers(), params);
ioReactor.setExceptionHandler(new IOReactorExceptionHandler() {
public boolean handle(IOException ioException) {
log.warn("System may be unstable: IOReactor encountered a checked exception : " +
ioException.getMessage(), ioException);
return true;
}