Fixes #4497: limit the max number of inqueue inventory waiting to be processed
Issue #4497: Use HTTP code 503 when too many inventory waiting