update_last_ip_addr
Set the user's statement timeout as soon as possible, before updating anything in the database.