incorporated review comments - a) adjusted default max_instances config value; b) expose max_instances as config property