On MacOSX must call quit, as otherwise phantomjs will lurk in the background.