Bump TP version to 4.40.0.Beta1-SNAPSHOT