empty arrays = dead stream, closes #40