I have a code for face recognition that is making attendance reports on successful recognition. After working for 10-15 minutes the app crashes and I get the following error