resatrt most of the service before sync the database