Add multi thread and background task sample.