Remove unnecessary checking before do_connecting.