Only call handle_signal() when there really is one.