Implement Scarlet.restart, Scarlet.reconnect.