refactor(socket) onCloudCmd, onCD: rm pSocket