shouldn't this be `spark.end(null, { reconnect: true })`?