Keep table caption with the table

If a table rows are selected to be split across pages, the caption of the table can stay on one page isolated and the table in a another page. Is there any to keep the caption with the table?

when keep with the next paragraph option is enabled in table properties, the table does not split across pages anymore and go to the next page where the table caption is. (leaving a half blank space in the previous page where a part of the table could have accommodated)

is this impossible in libre office writer?