Terminating an employment contract of an employee