turn off memory hook in freeBSD