I am working on a project, where the database is hosted on AWS. When I try to run a query from localhost to that remote db, the query might run slow, and from time to time t