Properly set itemsReady if closing stream immediately

Change-Id: I1f62416bc1e305796bf15375e96ca11dde899ca9
Reviewed-on: http://review.couchbase.org/35120
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>