The conduct of a social worker who spoke to a suicidal man hours before he died in a confrontation with police was not satisfactory, a coroner has found.