JDBC connection pool fix

1. Close JDBC connection in JDBC driver when query fails
2. Call driver.closeResultSet in QueryExecutionServiceImpl