Prevent exceptions being thrown during normal shutdown of NIO connections. This enables TLS connections to close cleanly.