Added garbageCollect to timeout.js