If teardown() is set and no counts are defined, treat that as locking in
the max_count