Please use a signaling variable here instead of Thread#kill