Every day the youth committed some fresh piece of folly , till at last Masella , losing all patience , gave him a good beating , which so startled Antonio that he took to his heels and never stopped running till it was dark and the stars were shining in the heavens .