common: Unregister satellite on error

When entering the cleanup code, we shall unregister the satellite in all
cases unless that lead orphans systems on the satellite.
common: clearing trap when entering cleanup

When entering cleanup, we shall be sure that no code inside this
cleanup() will trigger a trap since we are on the exit path.