[ChannelOutput] Fix race condition by waiting for thread to start