256 seems to be used as flag for "infinite" though. I'm curious about the sync code now :)