public BackgroundException map(final IOException failure, final Path directory) {
        return super.map("Connection failed", failure, directory);
    }
@Test
    public void testMap() {
        assertEquals(ConnectionRefusedException.class,
            new DefaultIOExceptionMappingService().map(new SocketException("Software caused connection abort")).getClass());
        assertEquals(ConnectionRefusedException.class,
            new DefaultIOExceptionMappingService().map(new SocketException("Socket closed")).getClass());
    }