wait until KadNode has terminated
use libsodium as a shared library