Call set_value for std::promise<void> too.