Double-click a connection tab/local browser tab to close

Double-click on a connection tab (at the bottom of the program) to close it than right-click > close

I mean to have both options.