handle release of ocaml not handling marshalling of dynamically loaded code