Arduino stops responding to home assistant

I’m using a arduino with firmata to connect to home assistant. Intermittently the arduino stops responding to home assistant and just needs to be reloaded from the integration page.

Can someone please help me. The code is just standard nothing has been modified from default.