Setted a limit for maximum inflight messages.