SITL stucked in an old uploaded mission

Greetings All,

Recently, I have been playing with the MAVSDK-Python and I wrote a code that uploads a mission to the SITL. But every time I open the SITL even without executing any script the mission is uploaded.

What can I do to fix that ?

The mission is saved on the autopilot side. If you want to clear it you could use: