use Closer.IsClosing and WaitClosing