Changed reset task to be a repetitive one, and not one calling itself