Absorption around the electron cyclotron frequency in a thermal plasma of finite density