Resolution of bug in createStream : new stream wasn't cached.