Nothing happens. The objective of the game is to roll the balls so that they stop close to the jack/kitty. If all of them are cleared, but not all of them are bowled, you will still be able to continue the game. For further information I recommend contacting the developers of the game. You can get in touch with them using the contact information from the official web page.