Close socket channel when address is unbound