add a way to release the framework