Gracefully stop loop and shutdown applications

Andrey Veltischev requested to merge andrey/graceful_shutdown into master

Merge request reports