termination of a temporary contract