fix for delegate test always waiting for callback timeout before proceeding