Added new StopSignalHandle API to safely unregister a signal handler