implement timeout on ioreplayer