Add timeout setting.