Fixes to Hash Sessions for 'Stream Closed' errors