Why does the vacuum work for about 15 seconds and then lose suction?

you have a leak in your pipes or skimmer has a crack