disconnect method
Closes and disconnects a connection.
The connectionId must be a valid connection identifier returned
from connect. Returns true on success, false on failure.
Implementation
bool disconnect(int connectionId) {
return _native.disconnect(connectionId);
}