This function closes the client connection and finishes the thread this is running in. Thus this fucntion does not return. This function should be called from the hit handling functions that are started in asynchronous thread when the connection was handled or should for some reason abandoned.
The function FinishConnection never returns.
void FinishConnection(pThreadData ThisThread