How to fix Canceling statement due to statement timeout in PostgreSQL | DevErrors