Added basic os SIGNAL handling. Destroys watch and then returns event handler before returning main.