Adds interval to ssh exec with retry