Another option is if you have shell access to your server, run the altertables from the command line. Then there's no ambiguity about when it's done and no timeout.