The sample batch finished callback function should have the fourth parameter