Fix for memory leak in memory-cache / future.timeout