fix async timeout bug