workqueue: update IO counters promptly after handling IO