Disconnects from the connected remote device.
The method disconnects from the connected remote device or terminates the pending connection.