Fixed Disconnect() method

Changed from socket to file handler.
Removed error message on read error

Proper error check and handling to be implemented.