How to close BeanPool Connection

Hi all,

Documentation shows how to initialize beanpool code example below;

SessionContext context = null;
RegistryProvider provider = null;
try {
provider = new StandaloneRegistryProvider(registryUsername,
registryPassword, true);

Configuration conf = new Configuration();
conf.setRegistryProvider(provider);

            conf.addBeanType(Item.class);
            conf.addBeanType(Action.class);
            conf.addBeanType(Entry.class);
            conf.addBeanType(ExternalLink.class);
            context = SessionContext.createInstance(conf);
      } catch (CSAppFrameworkException e) {
            // Do something with the exception
      } 

BeanPool beanPool = context.getCurrentBeanPool();

yes its working i am getting beanpool and i can read some asset but how can i close connection which beanpool is using?