For your current setup, use runLater to manipulate your UI on the JavaFX application thread.
Platform.runLater(()->spinnerWrap.setVisible(false));
You should use a Task for your off JavaFX thread logic, then, rather than using runLater, you could bind the spinner visible property to the task running property.