Question regarding Multithreading in JavaFX

I am using multithreading and JavaFX to grab the data from a database, so I update the GUI using progressbar. Say for example 10 progress bar for 10 threads. If I have 100,000 records in a database from which I am planning to
pull using 10 threads then I am pulling 1000 records at a time using 10 threads.

My Question is:

1) Is it possible to have a stop button next to 10 progress bars and stop a particular thread if I wish to. As far as I know, once the threads are started in a multithreaded environment, it can't be stopped unlesh they finish ?

Re: Question regarding Multithreading in JavaFX

it can't be stopped

You can tell a thread to stop by setting a variable for example. When it receives the request, it can exit ending the thread's execution.
I am assuming that the thread is executing code that you have written.