better signal handling
work around additional bug when working around dartbug 17752