Pass 'disconnected' error in 'disconnect' socket method