Wait for Phantomjs

Wait for 2000 and retry phantomjs connection before throwing an
exception.