cleanup future.hpp.