add a sleep before start agent