good calll...just did the same works now... was getting connection closed by peer.