Add extra variables wait_timeout and max_allowed_packet.