log ioexceptions and retries