Fixed unclosed stream

Signed-off-by: thehutch <52d5ad14@opayq.com>