Fix redirecting from within a future