off-by-one error in bounds check

leads to segfault when fd==max_fds as iobs->iobroker_fds array bounds are exceeded

Seen due to leaking FDs with external queryhandlers - see #10