Don't need to close descriptor myself

php_stream_close on innerstream took care of this.
strace showed two calls to close on same socket descriptor,
one with EBADF