handle loss of client connection appropriately

allow disconnecting/reconnecting of clients