diff --git a/src/stores/files.ts b/src/stores/files.ts
index 25d5defb22ffc53ab2f594cbff5c9ffdf81defe8..a7e70f71744d48b7e6a0c9e25b2bc8ae7d8c6fd3 100644
--- a/src/stores/files.ts
+++ b/src/stores/files.ts
@@ -54,7 +54,7 @@ function APIUpload(api: ExtendableAPI<TankFile>, pendingImportFileIds: Ref<Set<T
     requiredState: 'running' | 'done',
     options: { signal?: AbortSignal | null; maxWaitTimeSeconds?: number } | undefined = undefined,
   ) {
-    const maxWaitTimeSeconds = options?.maxWaitTimeSeconds ?? 5 * 60
+    const maxWaitTimeSeconds = options?.maxWaitTimeSeconds ?? Number.POSITIVE_INFINITY
     const startTime = new Date().getTime() / 1000
     let waitTime = 0
 
@@ -88,7 +88,7 @@ function APIUpload(api: ExtendableAPI<TankFile>, pendingImportFileIds: Ref<Set<T
       }
     }
 
-    throw new TimeoutError('Maximum wait time passed')
+    throw new TimeoutError('Maximum wait time for file import state reached.')
   }
 
   function _uploadFile(