Delete a stream before erasing it from the stream map

Change-Id: I98fb979de1eade0802410a18b037b4ead2af7ecf
Reviewed-on: http://review.couchbase.org/31047
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>