Bug 1033402 - waitForSocket() before connecting to marionette.

Added a child.kill() in the teardown.