I'd guess it won't actually do what you intend, since you should not call a blocking function inside an ISR
In the other thread I wrote (and am still convinced, to be true)
So you'd rather call Spark.connect()
in your normal code but "cancel" the connection attempt from your ISR by calling Spark.disconnect()
(and possibly WiFi.off()
aswell).
This might also be of interest
http://docs.spark.io/firmware/#system-modes-semi-automatic-mode