Fixed Disconnect() bug.