Respect env var topic count for max_in_flight setting