Currently, there's a race condition between the background thread printing the logs and the main thread waiting on status.