refresh timestamp is taken before refresh to avoid several refreshes by
other threads