must batch up reads from pipes