TEZ-1647. Issue with caching of events in VertexManager::onRootVertexInitialized. (Jeff Zhang via hitesh)

(cherry picked from commit e0fe9aaeacb43e8aa3fe1d0a5413b26598d076ed)