normally DC socket has two earth pins, should both the earth pins be connected to the earth of the PCB?