def METHOD_NAME(config, configured_catalog) -> SftpClient:
    with SftpClient(**config) as client:
        yield client
        for stream in configured_catalog.streams:
            client.delete(stream.stream.name)