As I recall the "normal" bootloader have not configured the WDT (I guess it's too difficult for a newbire to understand and handle WDT)
Optiboot have WDT configured and you can set it
Remember to call this at for each less than 8sec, else you will get reboot via watchdog
I recommend not to set the wdt time too short, as you then won't be able to upload a sketch, as the Arduino then will reset during sketch-upload (But this isn't a problem when using ISP)
wdt_enable(WDTO_8S);
https://github.com/Optiboot/optiboot/wiki/HowOptibootWorks