Limit the queue size when disconnected

Not sure we actually want to queue requests during disconnects. 
But at least the following makes is configurable. What do you think ?