Bit better implementation of sync retry

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>