bugz 4266: revert connection closed stuff for file download only - develop