Clean the processes which are inserted into the lists