Use docker wait to get exit statu