Solder replacement as stated above. Also replace the connectors with locking ones and trifucon pins so they make solid contact. This will take care of it for good. If you're not up for doing that, just reseat the connectors as a temporary fix. It'll come back eventually but in a home environment if it doesn't bother you that's certainly the easiest "fix".