callback function on a timer remove automatically