disconnect after sending/receiving complete