Few fixes

Handle IOErrorEvent and prevent some errors if ads time to short or rised exception