if (retryCounter > 0) {
LOG.warn("Assuming that netconf read-transaction failed, restarting ...", e.getMessage());
rTx.close();</BUG>
return read(mountpoint, datastoreType, iid, --retryCounter);
} else {
<BUG>LOG.warn("Netconf read-transaction failed. Maximal number of attempts reached", e.getMessage());

return Optional.absent();
}
} catch (Exception e) {
LOG.warn("Exception while reading data ...", e.getMessage());</BUG>
return Optional.absent();

if (retryCounter > 0) {
LOG.warn("Netconf READ transaction failed to {}. Restarting transaction ... ", e.getMessage());
rTx.close();
return read(mountpoint, datastoreType, iid, --retryCounter);
} else {
LOG.warn("Netconf READ transaction unsuccessful. Maximal number of attempts reached. Trace: {}", e);
return Optional.absent();
