Hi all, Is there a way of waiting for a dets to be properly closed after dets:close/1 has been called. The problem is that I want to shut down the erlang node with an exit status (using halt(ExitStatus)), but wait until the dets is properly closed. Cheers, Tobias