Let bot quit first.

I don't know how to python, but here.