Exit phantomJS after every screenshot to kill phantom process