try except for boto3 import