switched to 1.7
streams closed by try/catch