bug with async timeout