After I run a query, my results are often not successful when the database is large. The session does a timeout. How can I fix and avoid this?