Add gen.Task for asynchroneous task