finish StringIOAdapter