remove useless test, but make sure connect callbacks only run once