add sleep in rig connection