Added a disconnect event.