Add support for garbage collection on exit

Added pseudo signal name EXIT and management of garbage collection
on exit.
Added garbage collection on EXIT in the default.
Added support for multiple signal received, the garbage collection
function is looping instead of being re-entered.

Change-Id: I222aeac1c026a9f7ab9e4d867380a2b906f2573a