deadlinereached modified, still not checking timestamp