Improved the error handling in limiter which was not checking the return
value of Set calls