on connection fail consider recreating it with retry