Re-exposed close method as a deprecated method.