[core-api] Bug Fix: Shutdown FenixFrameworkThread before the BackEnd shutdown