Waiting for test logger thread to join