Fix JDBC connection leak