If a criminal prosecution has been instituted against the person under the laws of this state and is still pending, the governor has discretion to surrender that person on demand of the executive authority of another state or hold that person until tried and discharged, or convicted and punished in this state.