fix(socket): fixed double connect() statement

This hopefully fixed the connection issue at startup of the app.