Currently, it's only used when StartMain is used to bootstrap Weld. It could be useful to register it always for the cases when a user forgets to use try-with-resources or to close the container.