Use threads when cleaning up