Listen tabRemoved event in background.