Asymptotically nonlocal gravity