Add missing resetting of the service_tid on Windows