Simulate hardware configuration scenario by using Task class instead of previously by using Thread class