This line leaks a global `conn`