Catch IOException in ExchangeClient instead of SocketException