Updated Destructor in SignalHandler