jme: Factor out jme_rx_restart