Use select to block on serial data rx.