Refactor redirecting a callback on a future from an executor.