We don't need to be greedy in handling this read. It is important not to for example when a lot of data is being written to the pty we don't want that to starve the gui event handler and block sending an interrupt signal.