Pass joinall count argument to inner wait call