Changed async to sync timer