Add timeout to redirect