remove unnecessary copy

8 jobs for do_cleanup in 8 minutes and 43 seconds (queued for 3 seconds)