Fixing example stencil_8
Fixing deadlocks during free_component.
Refactored local::promise to be standard conformant (sans *_at_thread_exit)