added waiting for forks after get in optimistic