'Change the interface\'s channel every three seconds
:param self: An ExtensionManager object
:type self: ExtensionManager
:return: None
:rtype: None
.. note: The channel range is between 1 to 13'

def _channel_hop(self):

    while self._should_continue:
        for channel in self._channels_to_hop:
            if (self._current_channel != channel):
                self._current_channel = channel
                if self._should_continue:
                    try:
                        self._socket.close()
                        self._nm.set_interface_channel(self._interface, int(self._current_channel))
                        self._socket = linux.L2Socket(iface=self._interface)
                        time.sleep(3)
                    except BaseException:
                        continue
                else:
                    break
