Nicer signal handling.