Total uptime drop fix

Issue fix: https://github.com/sgminer-dev/sgminer/issues/227