extra check before connecting