Clear all Tasks in the queue.

def clear(self):
        """
        Clear all Tasks in the queue.
        """

        if not self.connected:
            raise QueueNotConnectedError("Queue is not Connected")

        self.__db.delete(self._key)
        self.__db.delete(self._lock_key)