Is read_cmd_fd set to non-blocking?