How to terminate a service contract