Wait for kernel finish