store api_limits in the closure, on _call, instead of inside ApiMethod