Suppression des warnings.
Correct connection and disconnection