server: use sync.Once to close target conn