Exit server after first request and use xvfb to run firefox headless.