Issue #2235 was fixed. Flush periodic task.