[feature] move channel_poll into channel_setopt