clean up things. Add channelOpts handler