allow to specify if we want to close connections systematically after
use