Tajo 873

It would be better to change 'if clause' to 'catch clause'. Here is an example.

```
...
            } catch (ClosedChannelException e) {
              remainingRetries = 0;
              LOG.warn("Last retry, exiting ");
              throw new RuntimeException(e);
            } catch (Throwable t) {
              LOG.error(t.getMessage(), t);
              remainingRetries -= 1;
            } finally {
...
```