Change connection close cleanup