fix the problem of invesalius not shutdown when closed
Removing the temp file created by invesalius