Always check with your health insurance fund about the formal requirements to cancel the insurance.
If you have other current insurances (fire, family, car), ask your insurance company about the compulsory termination conditions. Keep in mind that many insurances have to be cancelled at least three months in advance.