Removed unused finally blocks refereed by PMD