Hanging issue fixed in http-streams