Added Thread Timeout Detection Example

This Example Show how to timeOut a thread when it takes too long to
execute.