iocore: try to re-send a command 3 times

FIXME: should be analyzed more deeply