procd: fix ustream deadlock when there are 0 bytes or no newlines