the connect_options variable lets you set mysqli_options, like a connection timeout