Fixed to call IOMapper release method
fixing leaks in stream closing