kill player on close.