If you'd copy & paste the actual disconnection message that your bot gets when it's disconnected, then we might be of assistance.
However, without that, the sheer number of possibilities is almost endless.