leave
Tries to leave the Channel with the specified timeout.
Will try to send a Push to the server with an Event.LEAVE event and tryEmit an Event.CLOSE event to the Channel collector.
Return
Parameters
timeout
an optional Long value defining the duration after which a timeout event will be triggered.