CloseAll cydia tweak allows you to close all tabs in Safari.
Ever wanted to close all of your open tabs in less than a second? Well, now you can. Simply press and hold on any one of your tab’s close buttons (that nice grey X), and when you lift up, all of your tabs will be closed instantly. Piece of cake.