I don't know if he made a "mistake" per se... he operated successfully for a while managing FBI and his own criminal doings (e.g., Greg Scarpa)... I think time just ultimately caught up with him as it does to everyone, and you can only walk a razor's edge for so long before you slip up sometime...