Ticket 48184 - close connections at shutdown cleanly.
Bug Description: During shutdown we would not close connections.
In the past this may have just been an annoyance, but now with the way
nunc-stans works, io events can still trigger on open xeisting connectinos
Fix Description: Close connections during shutdown rather than
leaving them alive.
Review by: lkrispen, vashirov (Thank you!)