Optimizing JDBC connection (especially MySQL) for memory
Bugfix: Connection cache properly closes a connection