If a criminal prosecution has been instituted against the person under the laws of this state and is still pending, the governor, in his or her discretion, either may surrender him or her on demand of the executive authority of another state or hold him or her until he or she has been tried and discharged or convicted and punished in this state.
R.I. Gen. Laws § 12-9-22