Thermosetting plastic cap