add guard to rewind block

so that it doesn't rewind when collectd version is 5