Optimized TaskWrapper and move some member variables to TaskWrapper