Added delay thread running demo