fixes "The metrics for buffer length are not being updated after the last segment is downloaded"