fix ctrl+c not working for smr-ec2