Call closeBattle() when kicked from it.

Fixes #14.
Support for async http downloads coming in v2.0