Autoclose jdbc connections