Thread Join Python Method Chaining In Java