add &connect_timeout=10 at the end of your env variable. This error comes because your neon DB connection gets cut after 5 min of inactivity. Read about it in the following url: https://neon.tech/docs/guides/prisma#connection-timeouts
&connect_timeout=10