Device stuck in stopping state

We have a device that stopped sending updates. It is however still showing online in the dashboard. URL here:
I could ssh into it for a brief period, but once I executed a command it froze. Tried to restart the app with no success and now it’s stuck in stopping state. Anything you guys can do about it?

We got the client to reboot the device manually, which fixed the situation temporally, however it looks as if the app was not running the whole time it was offline, but appeared online on the dashboard.