Added lose restart conditions