Torques felt by solid accreting planets