added a wait group on startup to get closer to the "true" start.