commiting before stopping ec2