@markusweimer @shravanmn We call `conn.open()` many times in the loop, but we close it only once. I assume that's a mistake?