Improved error management, JDBC connections is always closed in a finally block.
Updated doc.