Fixing stupid error, and introducing a sleep, to see if the
other thread is awakened and finish sending data.
1 file changed