fix Http timeout bug