ratelimiter: fixing rate limiter use
ratelimiter: fixing rate limiter use

Use of the ratelimiter should be conscious of the ratelimiter's
potential closing. any loops that add work to ratelimiter
should (a) only do so if the rate limiter is not closed,
or (b) prevent limiter while work is added
(i.e. use limiter.Go(addWorkHere))

zippy/go-libp2p,libp2p/go-libp2p,ipfs/go-libp2p,libp2p/go-libp2p