Using twice and then closing would not open the connection again. Now it does.