PCB mounted connector with ground terminal