Fix for read only message channel in main loop