modify `max-open-shards` dynamically`; fix #10