Improve accuracy of timing in fetch_all_nodes.