Ignore InvalidState when uploading an empty part for file closing