I have a thread with a HTTP GET request inside. The problem is, when the request does not returns (i had set IOTimeout to 3000 for TFPHttpClient, but no avail, it does not returns after 3 seconds), the thread stucks. Even if i set the Terminated property to true, it does no good, since the thread never gets to that part when it can exit if it's terminated. (Or maybe it does, but only after a lot of time...)
The question is: how can i kill this stucked thread safely? Without causing crashes or freezes.
Or maybe i'm doing wrong the timeout setting? I just have to set the IOTimeout to 3000 for 3 seconds, or aren't i?