[connman] Fix resetting data counters when not connected.

Immediately update the stats file when resetting the data counters.