Table headers and deletion of the WaitForRemoteHost thread