added exception to induce early termination of engine process
Merge pull request #1 from ddossot/master

Merged master in flow_engine_clean_stop