hacky reopen of connection