stop ball automatically