Added exception handling in fetching of data to allow continuous flow of data acquisition.