Move gets call into try/catch so that its timeout exception is also caught.