Technically, we should kill the signal handlers before we do this (although the implications of not doing so are not too serious).