Handle case when socket not opened
Handle case when socket not opened

If the socket is not already opened, listen for ‘open’ event before sending the `outputDone` data.

iurimatias/embark-framework,iurimatias/embark-framework