prevent memory leaks when time out at close