Commit check internet connection before sync