Better serial availability check.