. . . "So when the application is running say for example there are 5 running tasks then the app should create 5 instances or threads for them." .