add a timeout on curl request for update check

because if you don't have that, it will continue indefinitely and
apache needs a restart… It happens when you need a proxy setting, but
it's not here.