SAMAZ-258; make task.window.ms and task.commit.ms accurate