wait for socket connect before grabbing wskey