PSQL Keeps going to sleep / timing out? Service Worker Discord Bot

Hello, I have a worker process deployed as a discord bot that needs PSQL to make some DB queries. It seems that after a few hours or so the PSQL image that gets deployed with fly launch times out or goes to sleep after a few hours? On first deployment the app is working fine and then a few hours later I am continually seeing these error messages:
consuming input failed: server closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.

Any ideas on what do do? Do I need to bump the psql DB to a higher tier in fly?