Update .gitignore
Fix bugs of task pool