How many warnings before termination