add delay after connect