add NewCloser, IsClosing, WaitClosing