Sometimes I want the fastest answer, or I want to refill a job slot as soon as one finishes.
for host in a b c; do ping -c1 "$host" >/dev/null & done
wait -n
echo "one job finished"
wait alone waits for every background job. wait -n returns when the next one ends and passes on its exit status, which wait cannot do for several jobs. It needs bash 4.3 or newer. In a loop, run wait -n each time the number of running jobs reaches your limit to build a small job pool.
Further reading: Bash manual: Job Control Builtins