reopen connection in case it is stopped