Can't delete png.file because it is in use by other processes

Hi Raja,

here is the sequence:

It is the same sequence code from here

Later then i want to delete the old one:

I can only delete it when the robot stops working.