TCP Connection seems to be dropping

I’m using the TCP IN node and I’m listening to a specific IP address on a specific Port. When I deploy it will work for a couple of minutes, then it seems to no longer listen on the port. Redeploying/restarting fixes the issue temporarily then it stops listening. It still indicates that it’s connected. Is there any way to send messages to keep the connection alive or a setting I can activate? I’m not sure if its node red disconnecting or the host stopping the connection. I’m not sure the best way to troubleshoot this.

I’m using the Home Assistant Addon.