fix usage pattern for jdbc driver, must read all results from within prepared statement block otherwise conneciton closes