Closing fileinputstream while downloading if interrupted