Used IOUtils.close(…) method to close resources.
Merge remote-tracking branch 'origin/master'