Handled error to create timer.