Ensure connections are not leaked