Comments, Javadoc and make close() only log instead of throw an exception to not have catch inside catch