Bug 1033402 - waitForSocket() before connecting to marionette.

Not sure exactly. It wasn't there the return before.