Make sure to actually close stuff.