diff --git a/bundle/pom.xml b/bundle/pom.xml
index 43c51f4744..1dab362e9f 100644
--- a/bundle/pom.xml
+++ b/bundle/pom.xml
@@ -19,6 +19,7 @@
org.neo4j.driver
${project.basedir}/..
+ ,-try
false
diff --git a/driver/pom.xml b/driver/pom.xml
index 62f35c09eb..593a49ae2d 100644
--- a/driver/pom.xml
+++ b/driver/pom.xml
@@ -18,6 +18,7 @@
${project.basedir}/..
${basedir}/target/classes-without-jpms
+ ,-try
--add-opens org.neo4j.driver/org.neo4j.driver.internal.util.messaging=ALL-UNNAMED
--add-opens org.neo4j.driver/org.neo4j.driver.internal.util=ALL-UNNAMED --add-opens org.neo4j.driver/org.neo4j.driver.internal.async=ALL-UNNAMED
false
diff --git a/driver/src/main/java/org/neo4j/driver/QueryRunner.java b/driver/src/main/java/org/neo4j/driver/QueryRunner.java
index b98babd29a..50b7447e10 100644
--- a/driver/src/main/java/org/neo4j/driver/QueryRunner.java
+++ b/driver/src/main/java/org/neo4j/driver/QueryRunner.java
@@ -23,7 +23,4 @@
*
* @since 1.0
*/
-public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {
- @Override
- void close() throws RuntimeException;
-}
+public interface QueryRunner extends SimpleQueryRunner, AutoCloseable {}