added flushing of serial input to get_busy() loop