attempted to communicate between client and agent using slots and signals