The most obscured AGN in the COSMOS field