Close Nerd Tree before deleting current buffer