Add a statement timeout so we don't get runaway queries.