Revert "catches stream exception "

This reverts commit ad4d71688146ab9f028b744afa8781d9628a4103.