I think it is first good to check from the options variable with `options('maxSockets')` and then fallback to env with default 5.