Cleaning up process queue method