fix the deinitilization of the domain action scheduler

Signed-off-by: Claudio Bisegni <Claudio.Bisegni@lnf.infn.it>