Fixed #2 - Start the application inside the exec loop, not before