getopt: limit maximum number of child procs