An employment for a specified term may be terminated at any time by the employer in case of any willful breach of duty by the employee in the course of his employment, or in case of his habitual neglect of his duty or continued incapacity to perform it.