Only send 180 ringing once, fix CTRL+D in main code