Fix handling of -n to limit number of requests sent