assrape my carefully constructed timeout functionality