Only query duration when needed
Assert for errors in tempo pitch test
Dont sleep when messages are waiting on gst_bus