Terminate Connection on close.