Do not create extended main loop for termination by |Terminate|
There are two types of termination sequences.
The first one is terminated by |Terminate| and another one is
terminated by |OnTerminate| triggered by application framework.
In case of termination by |OnTerminate|, app f/w emits elm_shutdown that
quits main loop so extended main loop is needed to finish termination sequence.
Btw, in case of termination by |Terminate|, app f/w does not interrupt current
main loop so it is stll alive and extended main loop is not needed.
This CL introduces not to create extended main loop for the termination
by |Terminate|.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2804
Change-Id: I15147c9d07ec768bdb7f8acf92e18886ec2c100d
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>