<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _del_controller(self, uid):
 """ Remove controller from internal list and tell the game. :param uid: Unique id of the controller :type uid: str """

        try:
            self.controllers.pop(uid)
            e = Event(uid, E_DISCONNECT)
            self.queue.put_nowait(e)
        except KeyError:
            # There is no such controller, ignore the command
            pass