Closes the underlying trace file, releasing its file handle so the trace can be deleted (required on Windows). After close the on-observer query methods (e.g. traceDataMap) are unavailable; read a finished trace via ResponseTraceData instead. Idempotent.