Fixed deprecated timer call.