Create time out for Spark.connect()?

Have you tried SYSTEM_THREAD(ENABLED)?