Corrected an intended call to the disconnect() method.