SI-6409  Stream flatMap leaks memory if mapper returns many empties 

SI-6409  Stream flatMap leaks memory if mapper returns many empties          

Added Scaladoc explaining that this is necessary behavior, but closed ticket as