Make status_wfd non-blocking and run a select() on it before the child
tries to write to it.
Fix a possible segfault when reading from a status client.