I put in a less stupid failure detector for infinite while loops XD