channels/serial: remove usage of old thread utils