Fix the problem that adding read timeout option causes redirect failure.