Quit if url load fails

A simple check for a failed URL load that quits Phantom and keeps the test from hanging.