dabbad: refactored function on exit.

Function registered by atexit(3) should not exit themselves to let the
other registered function a chance to run.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>