removed unnecessary dbconnection close