Use bus_hander to detect the EOS and ERROR messages.