refactor stop_signals
spec for dsl extend with module