set wait to false before calling updateCounter after counter is back in sync with server