checking for closer connections