Bug 1033402 - waitForSocket() before connecting to marionette.

  Good point. I can add a child.kill() in the teardown.