added channel isSocket trigger type check