close the framework if no more component should be used Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>