Added wait after test logger thread start