curry was a twenty-year veteran of the nypd 's detective squads , and he had taken his pension at the age of forty-seven and was looking to pay his alimony by working private until his ex-wife got married again or died or forgot about him .