Time effects in the magnetic cooling method