error handling on ec2procci