Call Horde.Registry.put_meta inside terminate/2 doesn't persist state

Thank @hubertlepicki I think you nailed it I added Process.sleep(1000) after calling Horde.Registry.put_meta/3 and the state get persisted.