This duration really depends on how slow your gripper is. The correct fix would be to make this a dynamic parameter.