Catching any error generated by periodic check.