get_data for line mode is now non-blocking.