Counter on services to generate ids. Cancell notifications before generating new ones