Added proper disconnect