Sometimes my online statistics loosing connection with my miner and says 0 active workes/ 0 H/s
Looks a bit weird. It doesn’t seem that your average hashrate is affected, though (orange line). When one of my miners go offline for some reason, I normally see a gradual drop in average hashrate. It could be something wrong on Flypool’s statistics. What does your income per round graph show (click on Payout / rounds)?
When it comes to autorestart and such, the EWBF Watchdog script is really good. It can be configured to autorestart the miner every 1 or 2 hours, and it can also autorestart the rig every day if you want that.