info: write_data: exit early if there is nothing to send