Delay connection in socketclient