invoke gc if dlmalloc failed in timed_malloc