make ThroughputLimiter disposable

fixes #1665