Sometimes Future write will cause an ISE with NIO2 (timeout or cancel on a channel). Not a very good idea IMO. Make things more consistent with SSL close.