fix sub task tree model
fix ws fd leak