add retry and timeout to checkresult call