Fixed NPE when catching IOExceptions during request execution