Auto-release message channels for plugins using background events