Prevent piling up phantomjs process when starting fails