disconnect and send message