Add condition variable to `serial_channel`
the condition variable blocks until a new message is in the queue.