Check for idle before collecting garbage