Fix LAS-131 by creating database connection at each method and use them locally.