By the same reason as error at prepare(), for example. Actually, setting statement timeout
requires no network roundtrip, it just set field of internal variable, and there can't be any
errors except of old client (expected and handled) or fatal ones (wrong stmt handle ?).
Do you have some real issue with it or just asking general questions ?
Regards,
Vlad