update TODO
introduce check write timeout for tls