Debuging ....
Fix issue of counting ready thread