check for serial data during busy loop