Silence warnings about seek after close