You haven't said what is not working, but.....
vTaskDelete( xTask10Handle );
If you are using an older version of FreeRTOS, try changing this line to:
vTaskDelete( NULL );
Now the task is run 27 times. Then no more.
If I follow the debugging, I get the error message:
xReturn = errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY;
Which memory allocation method are you using? heap_1.c, heap_2.c, heap_3.c or your own implementation?
If you are using heap_1, switch to heap_2. See http://www.freertos.org/a00111.html
Regards.