Using thermal imaging to find loose power connections