fix dial timeout bug