Error with streamlit apps

During the past months I have experienced the same issue with my streamlit apps. They start running just fine, but over time they break down, and canโ€™t be rebooted.

I get the error I have attached.

This happens with all my apps over time.