In case status check returns error, AWS Shell doesn't properly handle the cleanup of the instance and security groups.