Fix potential infinite loop if max-requests is modified when the server ...

...is suspended