Implemented closing off resultset when using H2 and MySQL database