Add config option to set max requests

This allows you to set the max queued requests (and reject new requests when the queue is full), without having to use a custom executor