Remove one second wait for threads exit from icl_conn_close().

Switch it from polling with pause() to using cv_wait()/cv_signal().

(cherry picked from commit 278287166d688429025533128effbb43d1ac0bb0)