Adequate connection closing