Added a 5 second timeout in case Phantom.js dies during initialization