Simple component for rate limiting in c#