repeater-example: Added missing calls to pthread_join