Threads and error handling for status reporting.