In order to recognize exact reason of the disconnect the additional field have been added in the disconnect function.