need to reopen statement when restarting connection