Revert "Revert "Bug fix, running task counter should be countered down when groom server down.""

This reverts commit 5629c6fea280c98e50e971402d2db8fab0cafd15.
Revert "Bug fix, bsp listening port may be ocuppied by other process."

This reverts commit 5bf60384ef529a158533453b4e75cd4c604d5cf2. Using open source solution instead.