close uploader's fd