Disconnect partially working
Added disconnect feature