fix main thread blocking issue with IOProtocolExt (issue #19)