Closer to a close function