function linearBackOff(attempt) {
  return (attempt * 1000) + 1000;
}
Strategy for reconnection that backs off linearly with a 1 second offset.
@param {number} attempt The number of reconnects since the last connection.
@return {number} The amount of time to the next reconnect, in milliseconds.