Thanks for the patch! Is there any reason we don't defer `init_ack` to somewhere closer to the end of the function?