fix smr-ec2 hanging