Revert "use a 32bit counter until the issue can be tracked down."

This reverts commit fd488eda0a7dc25673299ce80c091454f891883f.