tear down websockets, and unbind handlers