Fixing EXC_BAD_ACCESS on home button press
Making sure that we don't send anything until the socket is actually open