Wait for the cycling to finish