ctdlmigrate: exit cleanly when a signal is received, tell the user the exit code