This code is quite flaky and not reliable. Besides this, we're planning to dropping dirmngr completely. Because of this, drop the code. (cherry picked from commit 26cc64bc)