Fix task system dignostic to report real reason of the symaphore allocat...

...ion fail