added a threshold where if we haven't done anything for a while, give up