Trying to fix test/phantom/run.sh to exit cleanly