test/start-nginx.sh: accept N= as env var, and use --wait
fix can_gc: it was always returning OK