Fix socket client create resource