Fixed typo in code sample

Typo in `handleDisconnect` sample