do not update counters on EAGAIN
Merge branch 'master' into portable