core: update channel's (message queue) statistics from core thread only (possible data race fix).