close(...) uses the same promise this is not correct