Quit the test run if the requested URL cannot be loaded

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