What is a safe way to re-connect the headphone jack's pins

There is such a thing as conductive glue. Maybe a drop or two would anchor them?