Stop javafx timeline if the ConnectionController stops