made unsetOffsets happen ever 50 seconds instead of every 1000 transactions.