sync fetch and add for progress counter