Do not disconnect on not connected client. Call `on_disconnect' at bottom of `disconnect'.

Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>