Gets a value which indicates if the connection to the remote host has been closed.
Returns true if the connection has been closed; otherwise returns false.