Hello from the main thread
Hello from thread 0
Hello from thread 1
Hello from thread 4
Hello from thread 3
Hello from thread 2
Hello from thread 7
Hello from thread 6
Hello from thread 5
Goodbye from the main thread