Only close if not `None`