if stmt is nil, can't close without panic :(