Port a plugin to this repo
Send data if max_msg_size or flush_interval_secs reached

To avoid data sending every tick interval if a previous flush fails
we sleep flush_interval_secs. This can slow a shutdown of collectd.