Yes +1 what Lodesman said. If it isn't coming out of the thread you need to replace it.
Don't need to buy Westerbekes over-priced replacement if you are on a
budget e.g my '96 toyota car is running a
Yanmar oil pressure sender I got off a junked block. But might not be worth the bother to you.