On the practical solution of the Thue-Mahler equation