avoid all malloc/free in timer creation/destruction