Exception hardening - retries & logging

Handling Exception from TimerTask otherwise the TimerTask stops running
and it stops collecting data.