GROOVY-5074 Do not use ExecutorService to run code outside EDT, spawn a new Thread instead