SDK can expose a method to do that or/and it can do it automatically when nonce-tracking notices a stuck transaction