First, you need to make sure that your I-20 or DS-2019 shows the correct program end date.
If you graduate early, you need to see an international student advisor to shorten your program.
You are not required to keep the insurance after your completion date on the I-20 or DS-2019.
You will need to meet with an international student advisor to withdraw from the insurance.