Ancient electronics trick is take an eraser (pencil type rubber) or better yet the old hard white rubber typerwriter eraser to the contacts and make sure they are clean of oxidation. If a threaded cap make sure the threads are clean also.