diff --git a/aeron-archive/src/test/java/io/aeron/archive/ArchiveTest.java b/aeron-archive/src/test/java/io/aeron/archive/ArchiveTest.java
index <HASH>..<HASH> 100644
--- a/aeron-archive/src/test/java/io/aeron/archive/ArchiveTest.java
+++ b/aeron-archive/src/test/java/io/aeron/archive/ArchiveTest.java
@@ -73,25 +73,26 @@ public class ArchiveTest
                         final AeronArchive archive = AeronArchive.connect(ctx);
                         archiveClientQueue.add(archive);
 
-                        archive.getRecordingPosition(0L);
+                        final long position = archive.getRecordingPosition(0L);
                         latch.countDown();
+
+                        assertEquals(AeronArchive.NULL_POSITION, position);
                     });
             }
 
             latch.await(driver.archive().context().connectTimeoutNs() * 2, TimeUnit.NANOSECONDS);
 
-            assertThat(latch.getCount(), is(0L));
-        }
-        finally
-        {
-            executor.shutdownNow();
-
             AeronArchive archiveClient;
             while (null != (archiveClient = archiveClientQueue.poll()))
             {
                 archiveClient.close();
             }
 
+            assertThat(latch.getCount(), is(0L));
+        }
+        finally
+        {
+            executor.shutdownNow();
             archiveCtx.deleteArchiveDirectory();
             driverCtx.deleteAeronDirectory();
         }
[Java] Test should shutdown client before driver to avoid stale data.