Errrr... Perform an APC on the same thread? :-))
Seriously, though, it's not clear what your objective here is.
If you just want to end the thread, use the TerminateThread
function.
If you want to interrupt this particular call, you can close the socket.