Add PromiseStream.take to limit the number of results returned.