Added a delay when printing the traces

As an interim measure whilst waiting for traces to be handling properly, I've
added a 0.5s delay between each print request so that the traces don't overlap
when there's more than one agent instantiated.