<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unexpected_disconnect(self, conn_or_internal_id):
 """Notify that there was an unexpected disconnection of the device. Any in progress operations are canceled cleanly and the device is transitioned to a disconnected state. Args: conn_or_internal_id (string, int):
 Either an integer connection id or a string internal_id """


        data = {
            'id': conn_or_internal_id
        }

        action = ConnectionAction('force_disconnect', data, sync=False)
        self._actions.put(action)