Changing if (!write_batch) in front of send_exclude_list() to