If there is a error reopen conection