confmon tests: Stop loop when maximum providers are reached

Change-Id: I0cb19224ee81895ba9dff48dddab18d91f119c6b
Reviewed-on: http://review.couchbase.org/32978
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>