[#271] improved the `throttle` function, so that it can fire the first and last messages if `no_trailing` is set to false