For a secure working, put a small pot with lid on your workplace. When the battery starts burning, throw it in the pot, close it with the lid and get the pot safely out of the building, e.g. on the balcony or throw it out of the window. Do not try to extinct the battery with water, just let it burn out outside. This might take some hours.