How to reset MLX90640

Hi, I’m trying to use your MLX90640 module to send a heat-map remotely using Node-Red. I’m running the application ./MLX90640 on Raspberry Pi 3B+ (from here ) It works, but often freezes and when restarting goes into some funny mode, outputting incorrect values.
For example when terminating the application (CTRL-C or killing the process) gives wrong readings.
The only way to make it work correctly again is by power cycling.
Is there a way to restart/reset by software or should I add a power switch to it?
Another question is how to make a simple health check?