Use channel accessor

The accessor instanciate the channel on the first call, so this was producing a bug when purge was called before any other function calling getChannel().