add some connection closing