refresh ec2 credentials if it will be expired in 5 min