Fixed a bug binding for Waiting for Thread Termination