I think it's close.  Maybe rename `MAX_REQUESTS` to `MAX_EMPTY_REQUESTS ` instead?