Reduced tick tuple delay to 1 sec to avoid starvation + moved flush logic to a separate method