approximate wait param and loop exit.

both were initiated because of datax performance reasons