added waiting for completed session