I would have thought Threadlock would be the thing to use here... Epoxy resin may very well work though.