Clean the meteo and lock file when exiting.