It's almost always beneficial to use non-blocking mode on *file descriptors* for reads and `sleep` on "would block" errors, especially when using buffered queues such as channels. This prevents [[Syscall Storm]]s and allows you do check for an exit condition periodically to allow for graceful shutdown of worker threads. TODO: add example in [[Rust]].