exit after stuff like robo_pirate does