do_stop() should return only if the daemon has stopped