Implemented disconnect foundation, no actual disconnecting yet.