Tested errors handled correctly at io card.
Faced terribly problems with drivers, first call works but any later call will say that port is closed.
Working version of io card driver.