in reply to create new task from main program
It sounds like it is something you should use threads for