r24119: Convert reply_exit to the new API