@Test
void shouldDoNothingWhenClosingWithoutAcquiredConnection()
{

    RuntimeException error = new RuntimeException( "Hi" );
    when( connectionProvider.acquireConnection( any( ConnectionContext.class ) ) ).thenReturn( failedFuture( error ) );
    Exception e = assertThrows( Exception.class, () -> run( session, "RETURN 1" ) );
    assertEquals( error, e );
    close( session );
}