Avoid negative connection count on Sphinx restart

Difference calculation can go negative when Sphinx is restarted. This makes ugly spikes in the graph.