fix bug. clientId must be unique or the connection will be closed. generate id using current datetime converted to number then string