On the Curie temperature dependency of the magnetocaloric effect