230 allow custom stop sginal feature

Implements #230 transparently