Add throttling based on underscore’s implementation + tests.