How to fix Lock timeout exceeded in PostgreSQL | DevErrors