Wait 100ms before checking if the thread is still alive
By waiting for 0s, it means we have an infinite loop in serialCommunication
which makes it take 100% of CPU as long as it's running.
Fixes issue #64