Added flush timer to mainthread