LPS-44901 Add the ability to stop the framework
LPS-44901 When multiple process are executing within the testing infrastructure they are creating a few module framework runtimes. We need to explicitly close the framework under these situations because we could easily fall into deadlock situations