add warn when close connection repeatly