Cancel get_buf before calling get_buf