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

  * Closes #157