The at_exit() callback needs to return a future. In one place we forgot, and now that at_exit() takes an std::function<>, this is verified at compilation time and fails compilation. Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>