Database connection should be initialized everytime a query is performed