Replace executor with raw thread.
Add "break" to receiver thread.