We are leaving Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

Hangfire and memorystorage

I am using menorystorage with a windows service and it has happened to me several times that when I restart the service the scheduled process runs more than once, how can I clean what is scheduled in memorystorage when I start the service?